package com.czwj.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.czwj.entities.SafetyInspection;

public interface SafetyInspectionService {

	List<String> existinspection(Map<String, Object> map);

	List<SafetyInspection> findonday(Map<String, Object> map);

	int insert(List<SafetyInspection> list, MultipartFile[] images, Date inspectiondate, Integer userid, String ip, Integer status);

	/**
	 * @param map 
	* @Title: selectTosafe
	* @Description: TODO
	* @return 参数 
	* @return List<SafetyInspection> 返回类型
	* @throws
	*/
	List<SafetyInspection> selectTosafe(Map<String,Object> map);

	/**
	* @Title: selectTosafeInfo
	* @Description: TODO
	* @param map
	* @return 参数 
	* @return List<SafetyInspection> 返回类型
	* @throws
	*/
	List<SafetyInspection> selectTosafeInfo(Map<String,Object> map);


	/**
	* @Title: updateStatus
	* @Description: TODO
	* @param date
	* @return 参数 
	* @return int 返回类型
	* @throws
	*/
	int updateStatus(Date date);

}
